package com.atlansheng.rocketmqdemoboot.demos.controller;

import com.atlansheng.rocketmqdemoboot.demos.service.JiFenService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: LocalTransController
 * @Description:
 * @Date 2024/04/08 14:03
 * @Author songshaoqiu
 **/
@RestController
@RequiredArgsConstructor
public class LocalTransController {

    private final JiFenService jiFenService;

    @GetMapping("/local/trans")
    public String localTrans(){

        jiFenService.doLocalTrans();
        return "ok";
    }
}
